from django.urls import path, include
from rest_framework.routers import DefaultRouter
from game import views
router = DefaultRouter()
router.register(r'gamecate', views.GameCategoryViewSet, basename='category')
router.register(r'game', views.GameViewSet, basename='game')
urlpatterns = [
    path('', include(router.urls)),
]